package com.dengc.mapper;

import com.dengc.pojo.SysUser;

import java.util.List;

public interface SysUserMapper {

    //通用查询
    public List<SysUser> getSysUserByCondition(SysUser sysUser);

    //新增用户信息
    public int addUser(SysUser sysUser);

    //删除用户信息
    public int deleteUser(Integer id);

    //修改用户信息&&修改密码只能本人修改自己的
    public int updateSysUser(SysUser sysUser);
}
